<div class="vg">
    <object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="279" height="156">
        <param name="movie" value="<?php echo base_url().'static/templates/frontend/home/';?>images/vaogame.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="8.0.35.0" />
        <param name="expressinstall" value="<?php echo base_url().'static/templates/frontend/home/';?>Scripts/expressInstall.swf" />
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="<?php echo base_url().'static/templates/frontend/home/';?>images/vaogame.swf" width="279" height="156">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="8.0.35.0" />
              <param name="expressinstall" value="<?php echo base_url().'static/templates/frontend/home/';?>Scripts/expressInstall.swf" />
              <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
    </object>
</div>

<div class="register">
    <?php if(empty($username)){?>
          <a href="<?php echo base_url();?>dang-nhap/login" class="dk" title="Chưa Đăng Ký" target="_blank"></a>
    <?php  } else { ?>
          <a href="<?php echo base_url();?>dang-nhap/dang-xuat" class="dkno" title="Thoát" target="_blank"></a>
    <?php }?>
          <a href="<?php echo ID_URL;?>nap-the/" class="nt" title="Nạp Thẻ" target="_blank"></a>

</div>

<div class="dk_icon">
  <?php $listserver = "listserver";?>
  <?php if(empty($username)){?>
    <div style="padding: 10px 0">
        <a href="<?php echo base_url();?>dang-nhap/auth_other/fb_signin" target="_blank">
        <img src="<?php echo base_url();?>/static/templates/frontend/home/images/banner_left/ad_fb_login.gif" />
    </a>
    </div>
  <?php $listserver = "dang-nhap/login";?>
  <?php  } else {?>
       <style>
       .dk_icon{
            float:left;
            width:279px;
            text-align:center;
            font-size:15px;
            color:#8c8c8c;
            padding:15px 0 5px 0;
            background: url(<?php echo base_url();?>static/templates/frontend/home/images/bg_register.png) no-repeat;
            height: 50px;
        }
        .dk_icon img{
            padding:15px 7px 0 7px;
        }
        .welcome_info{
            color:wheat;
            font-size: 19px;
        }
        </style>
        Xin chào <span class="welcome_info"><?php echo $username;?></span>
  <?php }?>
</div>
<a href="<?php echo base_url().$listserver;?>" target="_blank"><img src="<?php echo base_url();?>dang-nhap/layout/images/server_list.gif" title="Tất cả máy chủ" alt="Tất cả máy chủ"/></a>

<a href="<?php echo base_url().'news/tin-tuc/big-update-thang-11.html';?>" class="cbld" title="" target="_blank"></a>
<a href="<?php echo base_url().'news/tin-tuc/chieu-mo-cong-tac-vien.html';?>" class="btht" title="" target="_blank"></a>
<a href="<?php echo base_url().'tich-luy';?>" class="tich_luy" title="" target="_blank"></a>
<a href="<?php echo base_url().'news/tin-tuc/sgm-ton-trong-va-thoi-lua-nhung-dam-me.html';?>" class="fire" title="" target="_blank"></a>
<div class="fanpage">
    <iframe src="http://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/bathiendia.game&amp;width=222&amp;colorscheme=light&amp;connections=13&amp;stream=false&amp;header=true&amp;height=284" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:267px; height:284px;"></iframe>
</div>